﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>无标题页</title>
    <script type="text/javascript" src="../popup.js"></script>
<script>
    function ShowCallBack(opt) {
    
    alert(opt)
    
    }
    
function ShowAlert()
{
     var pop=new txooo.ui.Popup({ contentType:4,isReloadOnClose:false,width:340,height:500});
     pop.setContent("title","alert警告框示例");
     pop.setContent("alertCon", "alert对话框的内容alert对话框的内容alert对话框的内容alert对话框的内容alert对话框的内容alert对话框的内容alert对话框的内容");

     pop.setContent("callBack", ShowCallBack);
     
     pop.setContent("parameter", { id: "divCall", str: "点击确定后显示的字符串", obj: pop });
     
     
     
     pop.build();
     pop.show();
}
</script>
</head>
<body>
<script>
ShowAlert();
</script>
</body>
</html>
